UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All public directories must be owned by root or an application account.


Overview

Finding ID Version Rule ID IA Controls Severity
V-67713 AOSX-11-001110 SV-82203r1_rule Medium
Description
All public directories must be owned by root, the local admin user, or an application account. Directory owners have permission to delete any files contained in that directory, even if the files are owned by other user accounts. By setting the owner to an administrator or application account, regular users will not be permitted to delete each other's files.
STIG Date
Apple OS X 10.11 Security Technical Implementation Guide 2017-04-06

Details

Check Text ( C-68279r1_chk )
To display all directories that are writable by all and not owned by "root", run the following command:

/usr/bin/sudo find / -type d -perm +o+w -not -uid 0

If anything is returned, and those directories are not owned by a local admin or application account, this is a finding.
Fix Text (F-73827r1_fix)
To change the ownership of any finding, run the following command:

/usr/bin/sudo find / -type d -perm +o+w -not -uid 0 -exec chown root {} \;